package com.his.pojos;

import java.io.Serializable;
import javax.persistence.*;
import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the HIS_SPENDING database table.
 * 
 */
@Entity
@Table(name="HIS_SPENDING")
@NamedQuery(name="HisSpending.findAll", query="SELECT h FROM HisSpending h")
public class HisSpending implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@Column(name="ZC_NO")
	private long zcNo;

	@Column(name="YG_NO")
	private BigDecimal ygNo;

	@Column(name="ZC_MONEY")
	private BigDecimal zcMoney;

	@Temporal(TemporalType.DATE)
	@Column(name="ZC_TIME")
	private Date zcTime;

	@Column(name="ZC_TYPE")
	private String zcType;

	public HisSpending() {
	}

	public long getZcNo() {
		return this.zcNo;
	}

	public void setZcNo(long zcNo) {
		this.zcNo = zcNo;
	}

	public BigDecimal getYgNo() {
		return this.ygNo;
	}

	public void setYgNo(BigDecimal ygNo) {
		this.ygNo = ygNo;
	}

	public BigDecimal getZcMoney() {
		return this.zcMoney;
	}

	public void setZcMoney(BigDecimal zcMoney) {
		this.zcMoney = zcMoney;
	}

	public Date getZcTime() {
		return this.zcTime;
	}

	public void setZcTime(Date zcTime) {
		this.zcTime = zcTime;
	}

	public String getZcType() {
		return this.zcType;
	}

	public void setZcType(String zcType) {
		this.zcType = zcType;
	}

}